<template>
  <div class="container">
        <div class="bg"></div>
        <div class="textContainer">
            <h1>流浪的梦--Dream wing studio</h1>
            <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perferendis, perspiciatis!</p>
        </div>
    </div>
</template>

<script>
export default {
  name: "PersonCarousel",
  props: {},
  data() {
    return {
      carouselList: [
        {
          src: require("assets/image/charity/personDonation/carousel/carousel1.png")
        },
        {
          src: require("assets/image/charity/personDonation/carousel/carousel5.png")
        },
        {
          src: require("assets/image/charity/personDonation/carousel/carousel6.png")
        },
        {
          src: require("assets/image/charity/personDonation/carousel/carousel8.png")
        }
      ]
    };
  },

  components: {},

  computed: {},

  beforeMount() {},

  mounted() {},

  methods: {},

  watch: {}
};
</script>
<style scoped lang="scss">
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container{
    position: relative;
    width: 100vw;
    height: 100vh;
}
.bg{
    position: absolute;
    width: 100vw;
    height: 92vh;
    top: 0;
    left: 0;
    background-image: url(/assets/image/charity/personDonation/carousel/carousel3.png);
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(10px);
    transition: all 1s ease-in-out;
}
.container:hover>.bg{
    filter: blur(0);
}
.container:hover>.textContainer{
    filter: blur(10px);
}
.container>.textContainer{
    color: rgb(112, 111, 111);
    /* background-color: rgba(0, 0, 0, .1); */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 5;
    text-align: center;
    filter: blur(0);
    transition: all 1s ease-in-out;
}
h1{
    font-size: 3em;
    letter-spacing: 5px;
    margin-bottom: 8px;;
}
p{
    font-size: 18px;
}
</style>
